package cn.koala.key.entity.enums;
/**
 * 库存状态枚举
 * @description
 * @author shuai.xu
 * @time 2019/5/6 10:08
*/
public enum InventoryEnum {

    // 库存状态
    BORROW(1, "借出"),
    IN_STOCK(2, "在库"),
    REPORT_LOSS(3, "挂失"),
    ;

    private Integer value;

    private String name;

    InventoryEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public String toString() {
        return "SourceEnum{" +
                "value=" + value +
                ", name=" + name +
                '}';
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
